/* Orbas:
 *     A open source CORBA Specification implementation from Huihoo.
 *
 * Copyright 2002-2003 Huihoo.org, Inc. All Right Reserved.
 *
 * This software is licensed under LGPL license.
 * See terms of license at gnu.org.
 *
 * For more information, visit:
 *
 * http://www.huihoo.org/orbas
 */

package org.huihoo.orbas.idl;

class IntType extends BaseType implements SwitchTypeSpec {

	public boolean unsigned = false;

	public IntType(int num) {
		super(num);
	}

	public void setUnsigned() {
		unsigned = true;
		if (type_spec != null)
			((IntType) type_spec).setUnsigned();
	}

	public boolean isSwitchable() {
		return true;
	}
}
